package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Logrecord;
import pcjavanet.mobilesell.model.LogrecordExample;
import pcjavanet.mobilesell.model.PageBean;

public interface LogrecordMapper {
    int countByExample(LogrecordExample example);

    int deleteByExample(LogrecordExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Logrecord record);

    int insertSelective(Logrecord record);

    List<Logrecord> selectByExample(LogrecordExample example);

    Logrecord selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Logrecord record, @Param("example") LogrecordExample example);

    int updateByExample(@Param("record") Logrecord record, @Param("example") LogrecordExample example);

    int updateByPrimaryKeySelective(Logrecord record);

    int updateByPrimaryKey(Logrecord record);

    List<Logrecord> getOnePageBeans(@Param("example") LogrecordExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") LogrecordExample example, @Param("pageBean") PageBean pageBean);

    List<Logrecord> selectByExamplePage(@Param("example") LogrecordExample example, @Param("pageBean") PageBean pageBean);
}